inc\fortnox\api\WF_Orders C

Total Complexity 104
Dependencies 7
Dependents 9
Total lines 748
Lines of code 427
Logical lines of code 231
Comment lines 192
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
format_order_payload()
A
37 12 76
create_order_row()
A
43 7 51
set_way_of_delivery()
A
53 9 21
get_tax()
S
56 6 18
validate_order_items()
S
57 6 16
get_sales_account()
S
58 5 14
handle_currency()
S
59 5 14
sync()
S
51 4 26
order_exists()
S
61 5 11
format_order_rows()
S
57 4 16
get_custom_shipping()
S
51 3 25
get_shipping()
S
59 3 15
get_shipping_account()
S
59 3 15
handle_fees()
S
61 3 12
outside_eu()
S
70 3 6
item_is_variation()
S
70 3 6
get_way_of_delivery()
S
64 3 10
calculate_item_discount()
S
66 3 9
send_order_to_fortnox()
S
61 2 13
set_payment_terms()
S
68 2 7
set_order_notice_flag()
S
70 2 6
cancel_order()
S
69 2 6
has_notices()
S
79 1 3
is_synced()
S
79 1 3
get_regular_shipping()
S
70 1 6
administration_fee_names()
S
69 1 6
set_order_as_synced()
S
76 1 4
get_product_name()
S
80 1 3
mark_as_ready()
S
77 1 3
add_order_log()
S
78 1 3
get_order_number()
S
77 1 3